<?php

namespace Home\Controller;

use Think\Controller;

class BaseController extends Controller {

    public function _initialize() {
        $this->assign('navList', $this->_initNav());
        $this->assign('siteOpt', $this->_getSiteOption());
    }

    public function _initNav() {
        $navList = D('Nav')->loadList();
        return $navList;
    }

    //获取站点选项
    public function _getSiteOption() {
        
    }

}
